@set innosetup="C:\Program Files (x86)\Inno Setup 5\iscc.exe"

%innosetup% /Q /dAPP_SVN_VERSION_MAJOR=1 /dAPP_SVN_VERSION_MINOR=6 VsTortoise.iss
@if not errorlevel 0 ( goto error )

%innosetup% /Q /dAPP_SVN_VERSION_MAJOR=1 /dAPP_SVN_VERSION_MINOR=7 VsTortoise.iss
@if not errorlevel 0 ( goto error )

%innosetup% /Q /dAPP_SVN_VERSION_MAJOR=1 /dAPP_SVN_VERSION_MINOR=8 VsTortoise.iss
@if not errorlevel 0 ( goto error )

@goto success

:error
@echo build failed
@goto done

:success
@echo all build successfully
@goto done

:done